package com.mv.service;

import com.mv.pojo.User;

import java.util.List;

public interface UserService {
    /*查*/
    List<User> getUser(String query,String mode);
    /*增*/
    void addUser(User user);
    /*删*/
    void deleteUser(Integer id);
    /*改*/
    void updateUser(User user);
    /*获取会员个数*/
    Integer getCount();
    /*查询会员用户名*/
    List<User> getUserName();
    /*删除所选会员*/
    void deleteBySelectList(List<User> selectList);
    /*根据用户名查询用户ID*/
    Integer getUserId(String userName);
}
